using System.Collections;
using System.Collections.Generic;
using GameFramework;
using UnityEngine;

//自动生成于：2020/11/10 17:07:16
namespace StarForce
{

	public partial class ItemDemo : ItemContext
	{

		public override void Init()
		{
			m_Btn_Choose.onClick.RemoveAllListeners();
			m_Btn_Choose.onClick.AddListener(OnChoose);
		}

		private void OnChoose()
		{
			HpTextData data = ReferencePool.Acquire<HpTextData>().Fill(1,Index);
			GameEntry.HPText.Show(data,Vector3.zero, new Vector3(0,120f,0f));
		}
	}
}
